import React from 'react'

export default function Login(props) {
    return (
        <div className="login">
            手机号<input type="text" />
            密码 <input type="password" />
            <button onClick={() => {
                // props.history.push('/home')
                window.localStorage.setItem('token', '123')
                props.setLoginBool(false)
            }}>登录</button>
        </div>
    )
}
